
rd /S/Q .\dist
mkdir .\dist

copy .\icons\*.* .\dist
xcopy /E .\qss .\dist\qqs\

: Debug
copy .\x64\Debug\*.exe .\dist
copy .\x64\Debug\*.dll .\dist
@REM copy .\3rd\QtPropertyBrowser\bin\QtSolutions_PropertyBrowser-headd.dll .\dist

: Relase
: cp .\3rd\QtPropertyBrowser\bin\QtSolutions_PropertyBrowser-head.dll .\dist

pushd .\dist
call "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools\VsDevCmd.bat"
windeployqt --debug --compiler-runtime xj-auto-recognition.exe 
popd
